package com.dayouzi.crawler_monitor.pojo.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ScheduledTaskVO", description="定时任务执行情况基本信息展示")
public class ScheduledTaskVO {

    @JsonIgnore
    @ApiModelProperty(value = "爬虫id")
    private Integer id;

    @JsonIgnore
    @ApiModelProperty(value = "爬虫名称")
    private String codeName;

    @ApiModelProperty(value = "定时任务名称")
    private String scheduledName;

    @ApiModelProperty(value = "定时任务id")
    private Integer scheduledId;

    @JsonIgnore
    @ApiModelProperty(value = "机器ip")
    private String machine;

    @JsonIgnore
    @ApiModelProperty(value = "机器id")
    private Integer machineId;

    @ApiModelProperty(value = "执行具体情况")
    private List<ScheduledSituationVO> list;


}
